package com.forekonw.deomlianxi;

import java.util.Scanner;

public class Ceyan {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.println("请输入两个数字： ");
        double nub1 = input.nextDouble();
        double nub2 = input.nextDouble();
        double a = nub1;
        double b = nub2;
        if (a<b){
            System.out.println("这两个数中的最大值为 "+b);
        }else{
            System.out.println("这两个数中的最大值为  "+a);
        }
    }
}
